# encoding=utf-8
import time
from abc import abstractmethod
import abc


class RunHelper:
    def __init__(self,
                 model_path: str,
                 preprocess,
                 postprocess):
        self.model_path = model_path
        self.preprocess = preprocess
        self.postprocess = postprocess

    @abstractmethod
    def infer(self, data_in):
        pass
